import { createApp } from "vue";
import router from "./router";
import store from "./store";
import axios from "axios";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import Avue from "@smallwei/avue";
import "@smallwei/avue/lib/index.css";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import 'element-plus/dist/index.css'; // 引入默认主题
import 'element-plus/theme-chalk/dark/css-vars.css'; // 引入暗黑主题变量
import App from "./App.vue";
const app = createApp(App);
app
  .use(store)
  .use(ElementPlus, { locale: zhCn })
  .use(router)
  .use(Avue, { axios })
  .mount("#app");
